package com.zj.bean;

import com.zj.api.DemoService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class DemoBean {
    @Reference
    DemoService demoService;

    public String methodA(){
        return demoService.methodA();
    }
    public String methodB(){
        return demoService.methodB();
    }
    public String methodC(){
        return demoService.methodC();
    }
}
